package com.example.demo.service;

import com.example.demo.entity.CourseChaptsBean;
import com.example.demo.util.PageEntity;



import java.util.List;

public interface CourseChaptsService {

    List<CourseChaptsBean> all();

    Integer add(CourseChaptsBean courseChaptsBean);

    Integer update(CourseChaptsBean courseChaptsBean);

    Integer delete(Integer id);

    CourseChaptsBean one(Integer id);

    PageEntity list(Integer pageNo, Integer pageSize,String name, String sortOrder);

}
